#include <Windows.h>
#include <tchar.h>
#include <stdio.h>
#include "./../DllLib/DllClass.h"
#pragma comment(lib, "./../Debug/DllLib.lib")

void main()
{
	int nLeft = 120;
	int nRight = 20;

	CDllClass DllClass;
	DllClass.SetData(nLeft, nRight);
	_tprintf(_T("Add(%d, %d) = %d\n"), nLeft, nRight, DllClass.Add());
	_tprintf(_T("Sub(%d, %d) = %d\n"), nLeft, nRight, DllClass.Sub());
	_tprintf(_T("Min(%d, %d) = %d\n"), nLeft, nRight, DllClass.Min());
	_tprintf(_T("Max(%d, %d) = %d\n"), nLeft, nRight, DllClass.Max());

	system("pause");
	return;
}